import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import { Header } from "@/components/header/header";
import { Footer } from "@/components/footer/footer";
import locale from "antd/locale/zh_CN";
import { ConfigProvider } from "antd";
import "@/style/public.css"
const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
  title: "中泽一心一伴健康产业集团",
  description: "中泽一心一伴健康产业集团官方网站",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="zh-CN">
      <body className={inter.className} style={{ margin: 0 }}>
        <ConfigProvider locale={locale}>
          <Header />
          {children}
          <Footer />
        </ConfigProvider>
      </body>
    </html>
  );
}
